<?php
if(!isset($param[0]))throw new Exception('Not enough parameter');
if(!is_dir('apps/'.$param[0]))throw new Exception("Application does not exist\nUse 'create-app' command to create it.");
$state[APPLICATION]=$param[0];
echo "Ok.";
